﻿using AutoMapper;
using B.T.BasicData.Domain.RBAC;
using B.T.BasicData.Read.Api.DTOs;

namespace B.T.BasicData.Read.Api
{
    public class mapperingProfile : Profile
    {
        public mapperingProfile()
        {
            CreateMap<RolePermissionDto, RolesInfo>().ReverseMap();
            CreateMap<Userinfo, UserPageDto>();
            CreateMap<TreeshapeDto,Permissions>().ReverseMap();
        }
    }
}
